package com.ynet.middleground.riskmanage.bean.rizhaogang;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liwq
 * @description 接收电子仓单转让指令处理结果请求类
 * @date 2022-05-12 15:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "接收电子仓单转让指令处理结果请求类", description = "接收电子仓单转让指令处理结果请求类")
public class RzgReceiveTransferResultReq extends BaseReqObj {

    private static final long serialVersionUID = 1246194518670046755L;

    @ApiModelProperty(value = "转让指令id", notes = "转让指令id", required = true)
    @NotBlank(message = "指令ID不能为空")
    private String orderId;

    @ApiModelProperty(value = "处理时间(时间戳)", notes = "处理时间(时间戳)", required = true)
    @NotBlank(message = "处理时间不能为空")
    private String procTime;

    @ApiModelProperty(value = "状态（0 成功/ 1 失败）", notes = "状态（0 成功/ 1 失败）", required = true)
    @NotBlank(message = "状态不能为空")
    private String status;

    @ApiModelProperty(value = "错误消息", notes = "错误消息")
    private String errorMsg;
}
